package com.zlp.member.dao;

import com.zlp.member.entity.UserDo;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* Created by Mybatis Generator on 2019/04/01
*/
public interface UserDoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserDo record);

    int insertSelective(UserDo record);

    UserDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserDo record);

    int updateByPrimaryKey(UserDo record);

    /**
     *   根据业务注解查询返回单条实体类对象Do
     */
    UserDo whereByBizKey(Map<String,Object> paramMap);
    /**
     *   修改用户的qqOpenId
     */
    int updateUserOpenId(Map<String,Object> paramMap);
}